<html {$html_attrs}>
<head><title>Sanpham</title>
<link REL="stylesheet" href="include/style.css" type="text/css">
<!--[if IE]>
<link REL="stylesheet" href="include/styleIE.css" type="text/css">
<![endif]-->
{BEGIN style_block}
<style>
#center_block{$id} {width:500px;margin:0 auto;}
#contents_block{$id} {text-align:center;}
#header_block{$id} {white-space:nowrap;height:31px;padding:5px;text-align:center;}
#footer_block{$id} {height:15px;}
#fields_block{$id} {width:100%;}
#fields_block{$id} td.es{padding:4px 10px;}
#buttons_block{$id} {padding-bottom:5px;white-space:nowrap;text-align:center;}
#required_block{$id} {text-align:left;padding:5px}
#message_block{$id}{margin-bottom:10px;}
</style>
<!--[if IE]>
<style>
#fields_block{$id} {width:95%;}
</style>
<![endif]-->
{END style_block}
</head>
<body {$bodyattrs}>
{BEGIN body}
{$header}

{BEGIN flybody}
<TABLE align=center id="center_block{$id}" cellpadding=0 cellspacing=0 border=0><tr><td>
<b class="xtop"><b class="xb1b"></b><b class="xb2b"></b><b class="xb3b"></b><b class="xb4b"></b></b>
<div id="header_block{$id}" class="upeditmenu">
Sanpham, Add new record
</div>
<div class="main_table_border2" style="border: 1px solid #516C81;">
<div class="main_table_border">

{BEGIN message_block}
<div id="message_block{$id}" align="center" class="downedit">{$message}</div>
{END message_block}

<TABLE CELLPADDING="0" CELLSPACING="0" align="center" border="0" width="480" id="fields_block{$id}">
{BEGIN masanpham_fieldblock}
	<tr>
		<td class="es editshade_b" width="150">
			{BEGIN masanpham_label}Masanpham{END masanpham_label}
		</td>
		<td width="250" class="es editshade_lb">
			{$masanpham_editcontrol}&nbsp;
		</td>
	</tr>
{END masanpham_fieldblock}
{BEGIN tensanpham_fieldblock}
	<tr>
		<td class="es editshade_b" width="150">
			{BEGIN tensanpham_label}Tensanpham{END tensanpham_label}
		</td>
		<td width="250" class="es editshade_lb">
			{$tensanpham_editcontrol}&nbsp;
		</td>
	</tr>
{END tensanpham_fieldblock}
{BEGIN hinhanh_fieldblock}
	<tr>
		<td class="es editshade_b" width="150">
			{BEGIN hinhanh_label}Hinhanh{END hinhanh_label}
		</td>
		<td width="250" class="es editshade_lb">
			{$hinhanh_editcontrol}&nbsp;
		</td>
	</tr>
{END hinhanh_fieldblock}
{BEGIN gia_fieldblock}
	<tr>
		<td class="es editshade_b" width="150">
			{BEGIN gia_label}Gia{END gia_label}
		</td>
		<td width="250" class="es editshade_lb">
			{$gia_editcontrol}&nbsp;
		</td>
	</tr>
{END gia_fieldblock}
{BEGIN madanhmuc_fieldblock}
	<tr>
		<td class="es editshade_b" width="150">
			{BEGIN madanhmuc_label}Madanhmuc{END madanhmuc_label}
		</td>
		<td width="250" class="es editshade_lb">
			{$madanhmuc_editcontrol}&nbsp;
		</td>
	</tr>
{END madanhmuc_fieldblock}
{BEGIN motangangon_fieldblock}
	<tr>
		<td class="es editshade_b" width="150">
			{BEGIN motangangon_label}Motangangon{END motangangon_label}
		</td>
		<td width="250" class="es editshade_lb">
			{$motangangon_editcontrol}&nbsp;
		</td>
	</tr>
{END motangangon_fieldblock}
{BEGIN motachitiet_fieldblock}
	<tr>
		<td class="es editshade_b" width="150">
			{BEGIN motachitiet_label}Motachitiet{END motachitiet_label}
		</td>
		<td width="250" class="es editshade_lb">
			{$motachitiet_editcontrol}&nbsp;
		</td>
	</tr>
{END motachitiet_fieldblock}
{BEGIN giakhuyenmai_fieldblock}
	<tr>
		<td class="es editshade_b" width="150">
			{BEGIN giakhuyenmai_label}Giakhuyenmai{END giakhuyenmai_label}
		</td>
		<td width="250" class="es editshade_lb">
			{$giakhuyenmai_editcontrol}&nbsp;
		</td>
	</tr>
{END giakhuyenmai_fieldblock}
</table>
</div>

<div class="downedit2" id="buttons_block{$id}">
	{BEGIN legend}
	<div id="required_block{$id}" ><img alt="bullet" src="images/icon_required.gif"> - Required field</div>
	{END legend}
	{$legendBreak}
	{BEGIN save_button}
	<span class=buttonborder><input class=button type=submit value="Save" name=submit1 {$savebutton_attrs}></span>
	{END save_button}
	{BEGIN cancel_button}
	<span class=buttonborder><input class=button type=button value="Cancel" {$cancelbutton_attrs}></span>
	{END cancel_button}
	{BEGIN back_button}
	<span class=buttonborder><input class=button type=button value="Back to list" {$backbutton_attrs}></span>
	{END back_button}
</div>

</div>
<b class="xbottom"><b class="xb4b"></b><b class="xb3b"></b><b class="xb2b"></b><b class="xb1b"></b></b>
</td></tr>
</table>
{END flybody}

{BEGIN detail_tables}
{END detail_tables}
<br><br>
{END body}
{$footer}
</body>
</html>
